package com.device.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class Sbapply implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer deviceid;
    private Integer uid;
    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createtime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date returntime;
    private Integer status;
    private Integer glystatus;
    private Integer dglyid;
    private Integer type;
    private Integer cglyid;

    @TableField(exist = false)
    private String cover;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String nums;
    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String dglyname;



}
